home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_193 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  471 b   |  21 lines

  1. on(press){
  2.    if(_root.micon._currentframe == 38)
  3.    {
  4.       _root.indicount = 100;
  5.       _root.indialogue = "Now I should be unbeatable!";
  6.       _root.even9 = 2;
  7.       _root.micon.gotoAndStop(1);
  8.       _root.sfx.gotoAndStop(3);
  9.       i = 1;
  10.       while(i < 40)
  11.       {
  12.          if(_root.inven["box" + i]._currentframe == 5)
  13.          {
  14.             _root.inven["box" + i].gotoAndStop(39);
  15.          }
  16.          i++;
  17.       }
  18.       gotoAndStop(39);
  19.    }
  20. }
  21.